package com.terrynoya.fight.animations
{
	import flash.geom.Rectangle;

	public class Clsn
	{
		private var _type:int;
		private var _rect:Rectangle;
		
		public function Clsn(type:int,rect:Rectangle = null)
		{
			this._type = type;
			this._rect = rect;
		}

		public function get rect():Rectangle
		{
			return _rect;
		}

		public function set rect(value:Rectangle):void
		{
			_rect = value;
		}

		public function get type():int
		{
			return _type;
		}

		public function set type(value:int):void
		{
			_type = value;
		}
		
		public function get right():Number 
		{
			return this._rect.right;
		}
		
		public function get left():Number 
		{
			return this._rect.left;
		}

	}
}